//
//  SelectQuestionSystem.h
//  QuizMaster
//
//  Created by Jeppe Nielsen on 3/22/15.
//  Copyright (c) 2015 Jeppe Nielsen. All rights reserved.
//

#pragma once

#include "GameWorld.hpp"
#include "Touchable.hpp"
#include "QuestionComponent.hpp"
#include "TransformAnimation.hpp"
#include "Transform.hpp"
#include "GameData.hpp"

using namespace Nano;

class SelectQuestionSystem : public GameSystem {
    public:
        void Initialize();
        void ObjectAdded(GameObject* object);
        void ObjectRemoved(GameObject* object);
    
        Event<GameObject*> QuestionSelected;
    
        bool NoMoreQuestions();
    
    private:
        void QuestionClicked(TouchData d, GameObject* object);
        TransformAnimation animation;
};